
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ec.packet</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="ec.html"><font color="#ffffff">ec</font></a>.packet</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/johkra/projects/pyamulecmd/ec/packet.py">/home/johkra/projects/pyamulecmd/ec/packet.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ec.codes.html">ec.codes</a><br>
</td><td width="25%" valign=top><a href="zlib.html">zlib</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-ECLoginPacket"><strong>ECLoginPacket</strong></a>(app, version, password)</dt></dl>
 <dl><dt><a name="-ECPacket"><strong>ECPacket</strong></a>(data_tuple)</dt></dl>
 <dl><dt><a name="-ECPacketData"><strong>ECPacketData</strong></a>(data_tuple)</dt></dl>
 <dl><dt><a name="-ReadPacketData"><strong>ReadPacketData</strong></a>(data, utf8_nums<font color="#909090">=True</font>)</dt></dl>
 <dl><dt><a name="-decode_connstate"><strong>decode_connstate</strong></a>(connstate, subtags)</dt></dl>
 <dl><dt><a name="-decode_search"><strong>decode_search</strong></a>(tags)</dt></dl>
 <dl><dt><a name="-decode_shared"><strong>decode_shared</strong></a>(tags)</dt></dl>
 <dl><dt><a name="-decode_status"><strong>decode_status</strong></a>(tags)</dt></dl>
 <dl><dt><a name="-md5"><strong>md5</strong></a> = openssl_md5(...)</dt><dd><tt>Returns&nbsp;a&nbsp;md5&nbsp;hash&nbsp;object;&nbsp;optionally&nbsp;initialized&nbsp;with&nbsp;a&nbsp;string</tt></dd></dl>
 <dl><dt><a name="-pack"><strong>pack</strong></a>(...)</dt><dd><tt>Return&nbsp;string&nbsp;containing&nbsp;values&nbsp;v1,&nbsp;v2,&nbsp;...&nbsp;packed&nbsp;according&nbsp;to&nbsp;fmt.</tt></dd></dl>
 <dl><dt><a name="-unpack"><strong>unpack</strong></a>(...)</dt><dd><tt>Unpack&nbsp;the&nbsp;string&nbsp;containing&nbsp;packed&nbsp;C&nbsp;structure&nbsp;data,&nbsp;according&nbsp;to&nbsp;fmt.<br>
Requires&nbsp;len(string)&nbsp;==&nbsp;calcsize(fmt).</tt></dd></dl>
</td></tr></table>
</body></html>